<%@ Page Language="C#" AutoEventWireup="true" CodeFile="WorkSpace.aspx.cs" Inherits="WorkSpace"  MasterPageFile="~/admin/MasterPage2.master"%>

<%@ OutputCache Location="None" %>
<asp:Content ID="Content1" runat="server" 
    contentplaceholderid="ContentPlaceHolder1">
 
            <table cellpadding="0" cellspacing="0" class="letraAzul" width="1100px"
                <tr>
                    <td class="letracuadroscolores">
                        <table cellpadding="0" cellspacing="0"  width="1100px" 
                            bgcolor="White">
                            
                                    <tr>
            <td  colspan="3">
            



                
                
                
                
                
                
                </td>
                            </tr>
                            
                                    <tr>
            <td class="style12" valign="middle">
                <asp:Image ID="logo" runat="server" ImageUrl="~/img/yourlogo.png" Height="114px" 
                    Width="116px" />
            </td>
            <td class="style4" valign="middle">
                <table cellpadding="0" cellspacing="0" class="azul" align="left">
                    <tr>
                        <td style="color:#3270b2" >
                            &nbsp;&nbsp;&nbsp;&nbsp;
                            Welcome,                             
                            <asp:Label ID="name" runat="server"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="letra">
                                                &nbsp;</td>
                                        </tr>
                                    </table>
                                </td>
                                <td style="text-align: right" valign="top">
                                    <table cellpadding="0" cellspacing="0" class="letra" border="0" align="right" 
                                        width="300">
                                        <tr>
                                            <td class="style9" style="text-align: right" >
                                    <asp:Label ID="hoy" runat="server" CssClass="azul" Text="Label" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="style9" >
                                                &nbsp;</td>
                                        </tr>
                                        <tr>
                                            <td class="style10" align="right" >
                                                <asp:GridView ID="gv_status" runat="server" Font-Names="Arial Narrow" 
                                                    ForeColor="#3270B2" GridLines="None" 
                                                    onrowdatabound="gv_status_RowDataBound" 
                                                    onselectedindexchanged="gv_status_SelectedIndexChanged" 
                                                    style="margin-left: 0px" Width="224px"  >
                                                    <RowStyle BackColor="White" BorderStyle="None" Font-Names="Arial Narrow" Font-Size="12px" 
                                                        ForeColor="#3270B2" HorizontalAlign="Left" VerticalAlign="Middle" />
                                                    <PagerStyle BackColor="#FFFF99" BorderColor="#CCCCCC" BorderStyle="Dashed" />
                                                    <HeaderStyle BackColor="#3270B2" Font-Names="Arial Narrow" Font-Size="16px" 
                                                        ForeColor="White" />
                                                    <EditRowStyle BorderStyle="None" />
                                                    <AlternatingRowStyle BackColor="#EEF4F9" />
                                                </asp:GridView>
                                            </td>
                                            
                                        </tr>
                                        
                                        <tr>
                                            <td class="style10" align="right" >
                                                &nbsp;</td>
                                            
                                        </tr>
                                        
                                    </table>
                                </td>
                            </tr></td>
                            </tr>
                        </table>
                    </td>
                </tr>
                
                <tr>
                    <td bgcolor="#FA7E02" class="letracuadroscolores">
                        WorkSpace</td>
                </tr>
                <tr>
                    <td bgcolor="White">
                        <asp:GridView ID="gv_detail" runat="server" AllowPaging="True" 
                            onpageindexchanging="gv_detail_PageIndexChanging" 
                            onrowcommand="gv_detail_RowCommand" 
                            onrowdatabound="gv_detail_RowDataBound" 
                            Font-Names="Arial Narrow" 
                            GridLines="None" BackColor="White" ShowFooter="True"  
                            PageSize="25" CssClass="letraNegra" Width="100%" AllowSorting="True" 
                            emptydatatext="No orders available." onsorted="sorted" onsorting="sorting"
                            >
                            <PagerSettings FirstPageImageUrl="~/img/rewindend33.png" 
                                LastPageImageUrl="~/img/forwardend.png" Mode="NextPreviousFirstLast" 
                                NextPageImageUrl="~/img/play33.png" PreviousPageImageUrl="~/img/rewind33.png" />
                            <EmptyDataRowStyle BorderStyle="None" Font-Names="Arial Narrow" HorizontalAlign="Left"
                                Font-Size="Medium" ForeColor="#FF3300" />
                            <Columns>
                                <asp:ButtonField CommandName="Edit" Text="Edit" />
                                <asp:TemplateField>
                                    <ItemTemplate>
                                        <asp:HyperLink ID="HyperLink1"  runat="server" NavigateUrl='<%#"~/admin/ODetils.aspx?id=" + Eval("Order id") %>' ><%# Eval("Order #")%></asp:HyperLink>
                                    </ItemTemplate>
                                    <ItemStyle ForeColor="Black"  />
                                </asp:TemplateField>
                            </Columns>
                            <PagerStyle BorderStyle="None" HorizontalAlign="Center" />
                            <HeaderStyle BackColor="#9AC9F8"  ForeColor="#3270B2" 
                                CssClass="letraAzul" />
                            <EditRowStyle 
                                Font-Underline="True" BorderStyle="None" BorderWidth="0px" />
                            <AlternatingRowStyle BackColor="#E7F1FE" 
                                BorderStyle="None" />
                        </asp:GridView>
                    </td>
                </tr>
                <tr>
                    <td bgcolor="#FA7E02" align="right">
                        <asp:DropDownList ID="lb_rows_limit" runat="server" AppendDataBoundItems="True" 
                            AutoPostBack="True" 
                            onselectedindexchanged="lb_rows_limit_SelectedIndexChanged" 
                            style="text-align: right">
                            <asp:ListItem>25</asp:ListItem>
                            <asp:ListItem>50</asp:ListItem>
                            <asp:ListItem>75</asp:ListItem>
                            <asp:ListItem>100</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
            </table>

</asp:Content>
<asp:Content ID="Content2" runat="server" contentplaceholderid="head">

    <style type="text/css">
        .style12
        {
        }
    </style>

    </asp:Content>

